import Vue from 'vue'
import Router from 'vue-router'

//组件模块

Vue.use(Router)
export default new Router({
    mode:'history',
    routes:[
        {path:'/',name:'home',component: () => import('@p/home') },
        {path:'/mapView',name:'mapView',component: () => import('@p/mapView') },
        {path:'/taiyuan',name:'mapView',component: () => import('@p/taiyuanMap') }
    ]
})